package org.apple.data;

public class SensorReading {
	public static final int SPEED = 1;
	public static final int AIRTEMPRATURE = 2;
	public static final int SEATEMPRATURE = 3;
	
	public static final double NOSPEED = -1001;
	public static final double NOAIRTEMPRATURE= -1002;
	public static final double NOSEATEMPRATURE = -1003;
	
	
	private int sensorType;
	private int resolutionType;
	private double value;
	
	public SensorReading(int sensorType, int resolutionType, double value) {
		this.sensorType = sensorType;
		this.resolutionType = resolutionType;
		this.value = value;
	}
	
	public SensorReading(int sensorType, int resolutionType){
		this(sensorType, resolutionType, 0.0);
	}
	
	public int getSensorType() {
		return sensorType;
	}

	public void setSensorType(int sensorType) {
		this.sensorType = sensorType;
	}

	public int getResolutionType() {
		return resolutionType;
	}

	public void setResolutionType(int resolutionType) {
		this.resolutionType = resolutionType;
	}

	public double getValue() {
		return value;
	}

	public void setValue(double value) {
		this.value = value;
	}
	
	
	
}
